package com.monboo.album.controller
{   
    /**
	 * @author robin for Tudou AlbumPlayer 2010-03-26
	 * @ModelPrepCommand register AlbumProxy
	 * @email:rman@live.cn
	 * @blog:www.xncat.com
	 */
    
    import org.puremvc.as3.interfaces.*;
	import org.puremvc.as3.patterns.command.SimpleCommand;
    import com.monboo.album.model.AlbumProxy;

    public class ModelPrepCommand extends SimpleCommand
    {
       	private var albumProxy:AlbumProxy;
       	
        override public function execute( note:INotification ) :void    
		{
			albumProxy = new AlbumProxy(note.getBody().getAlbumData());
			facade.registerProxy(albumProxy);
        }
    }
}
